Notes/Domino Fix List
 |  |
SPR # GFLY5JPRNW | Fixed in 6.0.2 release |  |



Product Area: Client; R5/R6 Interoperability Technical Area: LotusScript Platform: Cross Platform
SPR# GFLY5JPRNW - Fixed a problem in which was introduced in 6.0 where a handle was not possible to NotesUIWorkspace.CurrentDocument if it was located in the Initialize Event of a Subform.

Technote Number: 1106808

Problem:
This issue was reported to Lotus Software Quality Engineering and was addressed
in Notes 6.0.2 CF1.
Excerpt from the Lotus Notes and Domino fix list
(http://www.lotus.com/ldd/r5fixlist.nsf):
SPR# GFLY5JPRNW
Fixed a problem in which was introduced in 6.0 where a handle was not possible
to NotesUIWorkspace.CurrentDocument if it was located in the Initialize Event
of a Subform.
As a workaround for versions prior to 6.0.2, place the desired code in the
QueryOpen event and make use of the NotesUIDocument handle provided in the
Source variable.
For example the below code within the QueryOpen event would work without error:
Dim uidoc As NotesUIDocument
Set uidoc = source
If uidoc.IsNewDoc Then
Messagebox("New Document")
Else
Messagebox("Existing Document")
End If
More >


Last Modified on 05/22/2007
Go back
 |